package com.ljh.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljh.common.dto.SeckillOrderDto;
import com.ljh.common.utils.PageUtils;
import com.ljh.mall.order.entity.OrderEntity;
import com.ljh.mall.order.vo.OrderConfirmVo;
import com.ljh.mall.order.vo.OrderResponseVO;
import com.ljh.mall.order.vo.OrderSubmitVO;

import java.util.Map;

/**
 * ����
 *
 * @author ljh
 * @email 1612435061@qq.com
 * @date 2022-11-13 18:41:42
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /**
     * 获取订单确认页中需要获取的相关信息
     * @return
     */
    OrderConfirmVo confirmOrder();

    OrderResponseVO submitOrder(OrderSubmitVO vo);

    void quickCreateOrder(SeckillOrderDto orderDto);
}

